/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * IUAbrirPlan.java
 *
 * Created on 07/12/2010, 13:26:25
 */

package viviendas.gui.Plan.modificar;

import javax.swing.JButton;
import javax.swing.JTable;

/**
 *
 * @author desarrollo
 */
public class IUAbrirPlan extends javax.swing.JInternalFrame {

    /** Creates new form IUAbrirPlan */
    public IUAbrirPlan() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        jScrollPane1 = new javax.swing.JScrollPane();
        _tblPlane = new javax.swing.JTable();
        jPanel1 = new javax.swing.JPanel();
        _btnOpen = new javax.swing.JButton();
        _btnCancel = new javax.swing.JButton();
        _btnDelete = new javax.swing.JButton();

        setClosable(true);
        setTitle("Abrir Plan");
        setFrameIcon(new javax.swing.ImageIcon(getClass().getResource("/viviendas/imagenes/Home.png"))); // NOI18N
        setMaximumSize(new java.awt.Dimension(402, 411));
        setMinimumSize(new java.awt.Dimension(302, 311));
        setPreferredSize(new java.awt.Dimension(350, 411));
        getContentPane().setLayout(new java.awt.GridBagLayout());

        _tblPlane.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {},
                {},
                {},
                {}
            },
            new String [] {

            }
        ));
        _tblPlane.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane1.setViewportView(_tblPlane);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.ipadx = 234;
        gridBagConstraints.ipady = 244;
        gridBagConstraints.weightx = 1.0;
        gridBagConstraints.weighty = 1.0;
        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
        getContentPane().add(jScrollPane1, gridBagConstraints);

        jPanel1.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel1.setLayout(new java.awt.GridBagLayout());

        _btnOpen.setIcon(new javax.swing.ImageIcon(getClass().getResource("/viviendas/imagenes/Open_16x16.png"))); // NOI18N
        _btnOpen.setText("Abrir");
        _btnOpen.setMaximumSize(new java.awt.Dimension(68, 29));
        _btnOpen.setMinimumSize(new java.awt.Dimension(68, 29));
        _btnOpen.setPreferredSize(new java.awt.Dimension(68, 29));
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 30;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 0);
        jPanel1.add(_btnOpen, gridBagConstraints);

        _btnCancel.setIcon(new javax.swing.ImageIcon(getClass().getResource("/viviendas/imagenes/Log Out_16x16.png"))); // NOI18N
        _btnCancel.setText("Cancelar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.ipadx = 15;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.EAST;
        gridBagConstraints.insets = new java.awt.Insets(3, 0, 3, 3);
        jPanel1.add(_btnCancel, gridBagConstraints);

        _btnDelete.setIcon(new javax.swing.ImageIcon(getClass().getResource("/viviendas/imagenes/-.png"))); // NOI18N
        _btnDelete.setText("Eliminar");
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.insets = new java.awt.Insets(3, 5, 3, 5);
        jPanel1.add(_btnDelete, gridBagConstraints);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.fill = java.awt.GridBagConstraints.HORIZONTAL;
        gridBagConstraints.insets = new java.awt.Insets(3, 3, 3, 3);
        getContentPane().add(jPanel1, gridBagConstraints);

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton _btnCancel;
    private javax.swing.JButton _btnDelete;
    private javax.swing.JButton _btnOpen;
    private javax.swing.JTable _tblPlane;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JScrollPane jScrollPane1;
    // End of variables declaration//GEN-END:variables

    public JButton getBtnCancel() {
        return _btnCancel;
    }

    public JButton getBtnOpen() {
        return _btnOpen;
    }

    public JTable getTblPlane() {
        return _tblPlane;
    }

    public JButton getBtnDelete() {
        return _btnDelete;
    }

    
}
